package com.jthinker.blog.service;

import com.jthinker.blog.bean.entity.Category;
import com.jthinker.blog.bean.vo.CategoryTreeVO;

import java.util.List;

/**
 * User: Gang Chen
 * Date: 2015/7/5 14:34
 */
public interface CategoryService extends BaseService<Category, Long>
{
    List<CategoryTreeVO> getTree();

    Long getIdBySlug(String slug);
}
